<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Sitepage
 * @copyright  Copyright 2010-2011 BigStep Technologies Pvt. Ltd.
 * @license    http://www.socialengineaddons.com/license/
 * @version    $Id: index.tpl 2011-05-05 9:40:21Z SocialEngineAddOns $
 * @author     SocialEngineAddOns
 */
?>
<ul class="sitepage_sidebar_list">
  <li class="sitepage_socialshare">
    <div>
      <?php $this->curr_url = urlencode((string) ('http://' . $_SERVER['HTTP_HOST'] . Engine_Api::_()->sitepage()->getHref($this->sitepage->page_id, $this->sitepage->owner_id, $this->sitepage->getSlug()))); ?>
      <span>
        <?php echo $this->htmlLink('http://delicious.com/save?v=5&noui&jump=close&url=' . $this->curr_url . '&title=' . $this->sitepage->getTitle(), '<img src="application/modules/Sitepage/externals/images/socialbookmarking_delicious16.gif" class="photo" />', array('target' => '_blank', 'title' => $this->translate('Delicious'))) ?>
      </span>
      <span>
        <?php echo $this->htmlLink('http://digg.com/submit?phase=2&media=news&url=' . $this->curr_url . '&title=' . $this->sitepage->getTitle(), '<img src="application/modules/Sitepage/externals/images/socialbookmarking_digg16.gif" class="photo" />', array('target' => '_blank', 'title' => $this->translate('Digg'))) ?>
      </span>
      <span>
        <?php echo $this->htmlLink('http://www.facebook.com/share.php?u=' . $this->curr_url . '&t=' . $this->sitepage->getTitle(), '<img src="application/modules/Sitepage/externals/images/socialbookmarking_facebook16.gif" class="photo" />', array('target' => '_blank', 'title' => $this->translate('Facebook'))) ?>
      </span>
      <span>
        <?php echo $this->htmlLink('http://cgi.fark.com/cgi/fark/farkit.pl?u=' . $this->curr_url . '&h=' . $this->sitepage->getTitle(), '<img src="application/modules/Sitepage/externals/images/socialbookmarking_fark16.gif" class="photo" />', array('target' => '_blank', 'title' => $this->translate('Fark'))) ?>
      </span>
      <span>
        <?php echo $this->htmlLink('http://www.myspace.com/Modules/PostTo/Pages/?u=' . $this->curr_url . '&t=' . $this->sitepage->getTitle(), '<img src="application/modules/Sitepage/externals/images/socialbookmarking_myspace16.gif" class="photo" />', array('target' => '_blank', 'title' => $this->translate('MySpace'))) ?>
      </span>
      <span>
        <?php echo $this->htmlLink('http://twitthis.com/twit?url=' . $this->curr_url . '&title=' . $this->sitepage->getTitle(), '<img src="application/modules/Sitepage/externals/images/socialbookmarking_twitter16.png" class="photo" />', array('target' => '_blank', 'title' => $this->translate('Twitter'))) ?>
      </span>
      <span>
        <?php echo $this->htmlLink('http://www.google.com/buzz/post?url=' . $this->curr_url . '&message=' . $this->sitepage->getTitle(), '<img src="application/modules/Sitepage/externals/images/socialbookmarking_googlebuzz16.png" class="photo" />', array('target' => '_blank', 'title' => $this->translate('Google Buzz'))) ?>
      </span>
    </div>
  </li>
</ul>